package com.littleant.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.littleant.common.annotation.Excel;
import com.littleant.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 客户信息管理对象 crm_customer_info
 * 
 * @author littleant
 * @date 2022-03-15
 */
public class CrmCustomerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户id */
    private Long customerId;

    /** 客户号 */
    @Excel(name = "客户号")
    private String customerNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 客户来源 */
    @Excel(name = "客户来源")
    private String customerSource;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String customerPhone;

    /** 客户手机号 */
    @Excel(name = "客户手机号")
    private String customerMobile;

    /** 客户成交状态 */
    @Excel(name = "客户成交状态")
    private String customerDealStatus;

    /** 客户状态 */
    @Excel(name = "客户状态")
    private String customerStatus;

    /** 客户所属行业 */
    @Excel(name = "客户所属行业")
    private String customerIndustry;

    /** 客户级别 */
    @Excel(name = "客户级别")
    private String customerLevel;

    /** 客户最后跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户最后跟进时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customerLastFollowTime;

    /** 客户最后跟进记录 */
    @Excel(name = "客户最后跟进记录")
    private String customerLastFollowRecord;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String lng;

    /** 维度 */
    @Excel(name = "维度")
    private String lat;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 网站 */
    @Excel(name = "网站")
    private String website;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String ifDel;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createById;

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerNo(String customerNo) 
    {
        this.customerNo = customerNo;
    }

    public String getCustomerNo() 
    {
        return customerNo;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerSource(String customerSource) 
    {
        this.customerSource = customerSource;
    }

    public String getCustomerSource() 
    {
        return customerSource;
    }
    public void setCustomerPhone(String customerPhone) 
    {
        this.customerPhone = customerPhone;
    }

    public String getCustomerPhone() 
    {
        return customerPhone;
    }
    public void setCustomerMobile(String customerMobile) 
    {
        this.customerMobile = customerMobile;
    }

    public String getCustomerMobile() 
    {
        return customerMobile;
    }
    public void setCustomerDealStatus(String customerDealStatus) 
    {
        this.customerDealStatus = customerDealStatus;
    }

    public String getCustomerDealStatus() 
    {
        return customerDealStatus;
    }
    public void setCustomerStatus(String customerStatus) 
    {
        this.customerStatus = customerStatus;
    }

    public String getCustomerStatus() 
    {
        return customerStatus;
    }
    public void setCustomerIndustry(String customerIndustry) 
    {
        this.customerIndustry = customerIndustry;
    }

    public String getCustomerIndustry() 
    {
        return customerIndustry;
    }
    public void setCustomerLevel(String customerLevel) 
    {
        this.customerLevel = customerLevel;
    }

    public String getCustomerLevel() 
    {
        return customerLevel;
    }
    public void setCustomerLastFollowTime(Date customerLastFollowTime) 
    {
        this.customerLastFollowTime = customerLastFollowTime;
    }

    public Date getCustomerLastFollowTime() 
    {
        return customerLastFollowTime;
    }
    public void setCustomerLastFollowRecord(String customerLastFollowRecord) 
    {
        this.customerLastFollowRecord = customerLastFollowRecord;
    }

    public String getCustomerLastFollowRecord() 
    {
        return customerLastFollowRecord;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setWebsite(String website) 
    {
        this.website = website;
    }

    public String getWebsite() 
    {
        return website;
    }
    public void setIfDel(String ifDel) 
    {
        this.ifDel = ifDel;
    }

    public String getIfDel() 
    {
        return ifDel;
    }
    public void setCreateById(Long createById) 
    {
        this.createById = createById;
    }

    public Long getCreateById() 
    {
        return createById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("customerNo", getCustomerNo())
            .append("customerName", getCustomerName())
            .append("customerSource", getCustomerSource())
            .append("customerPhone", getCustomerPhone())
            .append("customerMobile", getCustomerMobile())
            .append("customerDealStatus", getCustomerDealStatus())
            .append("customerStatus", getCustomerStatus())
            .append("customerIndustry", getCustomerIndustry())
            .append("customerLevel", getCustomerLevel())
            .append("customerLastFollowTime", getCustomerLastFollowTime())
            .append("customerLastFollowRecord", getCustomerLastFollowRecord())
            .append("address", getAddress())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("remarks", getRemarks())
            .append("website", getWebsite())
            .append("ifDel", getIfDel())
            .append("createTime", getCreateTime())
            .append("createById", getCreateById())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
